package com.ptswitch.material.service;

import com.hxzon.project.ModelService;
import com.ptswitch.material.model.Uzer;

public interface UserService extends ModelService<Uzer> {
	public Uzer getByName(String username);
	
	public Uzer getByNameAndPassword(String username,String password,boolean md5);

	public boolean existName(String username);
	
	public boolean isAdmin(String username);
	
	public boolean isAdmins(String username);
}
